<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="css/bootstrap.min.css"></link>
    <link rel="stylesheet" href="css/bootstrap-datetimepicker.css"></link>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="js/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="js/bootstrap.min.js" type="text/javascript"></script>
    <script src="js/vue.js" type="text/javascript"></script>
</head>
<body>
<div class="row" id="update">
    <div class="col-lg-4">
        <form method="post" id="registForm" class="form-horizontal" action="edit">
            <input name="id" type="hidden" v-model="publicAccount.id">
            <div class="form-group">
                <label class="col-sm-3 control-label">账号类型：</label>
                <div class="col-sm-9">
                    <select class="form-control" name="type.id" v-model="publicAccount.type.id">
                        <option value="">请选择</option>
                        <option v-for="item in typeList" v-bind:value="item.id">{{item.name}}</option>
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">名称：</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" name="name" v-model="publicAccount.name">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">公众号：</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" name="account"  v-model="publicAccount.account">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">创建日期：</label>
                <div class="col-sm-9">
                    <input type="text" class="form-control" readonly v-model="publicAccount.createdTime">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">认证：</label>
                <div class="col-sm-9">
                    <label class="control-label"><input type="radio" name="status" value="1" v-model="publicAccount.status">已认证</label>
                    <label class="control-label"><input type="radio" name="status" value="0" v-model="publicAccount.status">未认证</label>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-2">
                    <button type="submit" id="btn" class="btn btn-success">提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="edit.js" type="text/javascript"></script>
</body>
</html>